<?php

class Application_Form_Building extends Zend_Form
{

    public function init()
    {          

    	$buildingType = new Zend_Form_Element_Hidden('buildingUpgradeName'); 
    	
        $build = new Zend_Form_Element_Submit('build');
        $build->setLabel('UPGRADE');
        	 
                
        $this->addElements(array(
        				$buildingType,
                        $build
                        ));   
                        
                        
        $this->setElementDecorators(array('ViewHelper','Label'));
        $build->setDecorators(array('ViewHelper'));
        
        $this->setAction('/buildings/build'); 

		$this->setDecorators(array(
				'FormElements',
				array('HtmlTag', array('tag' => 'div', 'class'=> 'buildForm', 'id'=>'style')),
				'Form'
				));
    }


}

        
   